<?php
if(!defined('IN_DISCUZ')) {exit('Access Denied');}



if($_G['gp_del']==1){
	
DB::delete('renren_connect',array('dz_uid'=>$_G['gp_uid']));
loaducenter();
uc_user_delete($_G['gp_uid']);
require_once libfile('function/delete');
$numdeleted = deletemember($_G['gp_uid'], 0);


}else
{
	$i=1;
$query = DB::query("SELECT * FROM ".DB::table(renren_connect));
while($data = DB::fetch($query)){

$list[$i][name]=DB::result_first("SELECT username FROM ".DB::table(common_member)." where uid=$data[dz_uid]");
$list[$i][rr_uid]=$data[rr_uid];
$list[$i][dz_uid]=$data[dz_uid];
$list[$i][tag]=$data[tag];
$list[$i][times]=$data[bind_time];
$i++;
}
	
	}

include template('renren:list');

?>
